<div style="font-size:10pt;" class="color">
<a href="{url link='public.groups'}">{language text="groups"}</a>
&gt;&gt;
<a href="{url link='public.groups.view' id=$aGroupData.id}">{$aGroupData.title|escape}</a>
&gt;&gt;
{language text="upload_group_image"}
</div>
<br />

<table style="width: 100%;" cellpadding="4" cellspacing="0">
    <tr>
        <td class="border2" valign="top">


        <table style="width: 100%;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0">
        <tr>
            <td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
            <td class="block_header">{language text="upload_group_image_1014"}</td>
        </tr>
        </table>


        {if $bNeedGroupLeader}

        <br />
        	{language text="images_can_t_be_posted_in_this_grou"}<br />
        	{language text="access_is_only_permited_to_the_grou_953"}
        	<ul>
        		<li><a href="{url link='public.groups.view' id=$aGroupData.id}">{language text="go_to_group_profile"}</a></li>
        		<li><a href="{url link='public.groups'}">{language text="return_to_group_index"}</a></li>
        	</ul>
        {else}

        <div style="padding:10px;">
        	{messages}
        	 <form enctype="multipart/form-data" method="post" action="{url link='public.groups.gallery.upload' id=$aGroupData.id}" style="margin:0px;">
             <table style="width:100%;" cellspacing="2" cellpadding="4">
             <tr>
                <td style="text-align:right;" class="color">{language text="title_description"}:</td>
                <td class="border13">
                    <input type="text" name="title" size="30" maxlength="50" onfocus="this.className='inputmain';" onblur="this.className='';" />
                </td>
             </tr>
             <tr>
                <td style="text-align:right;" class="color">
                    {language text="group_image"}:
                    <br/>
                    <span style="font-size:7pt;">( {language text="max_size"}: {$iMaxImageSize}{language text="kb"} )</span>
                </td>
                <td class="border13">
                    <input type="file" name="image" size="30"/>
                </td>
             </tr>
             <tr>
                <td></td>
                <td style="padding-top: 15px;"><input type="submit" value=" {language text="upload_image"} " style="cursor:pointer;" class="mainmenu6" onmouseover="this.className='mainmenu7';" onmouseout="this.className='mainmenu6';" /></td>
            </tr>
             </table>
        	</form>
        </div>
        {/if}
    </td>
</tr>
</table>